#include <iostream>

template<typename T, typename U>
void func(T a, T b)
{
    std::cout <<"func(T,T)"<<std::endl;
    std::cout<<a<<" "<<b<<std::endl;
}

void func(int a, double b)
{
    std::cout <<"func(int,double)"<<std::endl;
    std::cout<<a<<" "<<b<<std::endl;
}

int main()
{
    //优先调用普通函数
    //func(10,10.1);
    func(10,'A');
    func<int,int>(10,'A');
    return 0;
}